Prepare CakePHP for PHP 5.4 and PHPUnit on OSX | Thomas Spycher http://t.co/xzobE7CD #cakephp #phpunit #php
February 13, 2013
Prepare CakePHP for PHP 5.4 and PHPUnit on OSX | Thomas Spycher
sudo port selfupdate # Update Portstree sudo port install php54 sudo port install php54-xdebug # XDebug for debugging PHP Applications sudo port select php php54 # Activate PHP 5.4 sudo cp /opt/local/etc/php54/php.ini-development /opt/local/etc/php54/php.ini pear upgrade PEAR pear config-set auto_discover 1 sudo pear install pear.phpunit.de/PHPUnit # Install PHPUnit PEAR Package add to /private/etc/php.ini and /opt/local/etc/php54/php.ini (The first file is de default OSX location and the second for the ports PHP Version): starting the development server: run or going to http://localhost:8080/test.php to run the tests onnline
/image%2F0004624%2F201210%2Fob_b01b21efdb72588090d70c1e23a4f101_nicolashachet-logo.png)

